package com.the4man.framework.dao;

import com.the4man.framework.model.Menu;
import com.the4man.framework.pagemodel.PMenu;

import java.util.List;

/**
 * Created by lenovo on 2017/12/12.
 */
public interface MenuMapper {
    List<Menu> selectMenusByMoudleID(String var1);

    List<Menu> selectAllMenusForPage();

    List<Menu> selectTreeMenu();

    int insertMenu(Menu var1);

    int deleteMenu(Menu var1);

    int menuEdit(Menu var1);

    int updateChildrenByParent(List<String> var1);

    int updateParentByChildren(Menu var1);

    List<Menu> getParentMoudleAllChildren(String var1);

    List<PMenu> selectMenusByMenuId(String var1);
}
